package cn.touna.jss.common.properties.disconf;

import com.baidu.disconf.client.common.annotations.DisconfFile;
import com.baidu.disconf.client.common.annotations.DisconfFileItem;
import org.springframework.stereotype.Component;


@Component
@DisconfFile(filename = "taobao.properties", targetDirPath = "disconf")
public class TaobaoProperties {


    private  String url;
    private  String partnerCode;
    private  String partnerKey;



    @DisconfFileItem(name = "taobao.url", associateField = "url")
    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @DisconfFileItem(name = "taobao.partnerCode", associateField = "partnerCode")
    public String getPartnerCode() {
        return partnerCode;
    }

    public void setPartnerCode(String partnerCode) {
        this.partnerCode = partnerCode;
    }

    @DisconfFileItem(name = "taobao.partnerKey", associateField = "partnerKey")
    public String getPartnerKey() {
        return partnerKey;
    }

    public void setPartnerKey(String partnerKey) {
        this.partnerKey = partnerKey;
    }



}
